package net.tngou.iask.pojo;

import java.sql.Timestamp;

/**
 * 访问记录
 * @author tngou@tngou.net
 *
 */
public class Access extends POJO {
	
	private long main 	;// 	  	实体ID 
	private long patient 	;//  	  	患者ID 
	private long survey 	;//  	问卷 
	private long cure 	;//  	治疗ID 
	private int relation 	;// 	  	患者用户关系：0（自己）、1（夫妻）、2（子女）、3（父母）、4（亲人）、5（朋友）  
	private int state	;//	  	类型：0（创建）、1（进行） 2（完成） -1（失效） 
	private int speed 	;// 	  	完成数 
	private int total 	;//  	  	总数 
	private long question 	;//  	待执行问题 
	private int opencount 	;//	  	打开次数 
	private int sendcount 	;//	  	发送次数 
	private Timestamp starttime 	;//  	  	开始时间 
	private Timestamp endtime 	;// 	  	结束时间 
	private int usetime 	;// 	  	使用时间 
	private long user 	;// 	  	记录人 
	private int type ;//问卷调查类型： 0（普通） 、1（个人健康档案）、2（随访） 
	private int alive 	;// 	  	生存情况 ：-1（死亡）、0（未知）、 1（健在）
	private String advice;// 文件过后的建议
	private float score;//评价分数
	private Timestamp time 	;//  	  	创建时间 
	public long getMain() {
		return main;
	}
	public void setMain(long main) {
		this.main = main;
	}
	public long getPatient() {
		return patient;
	}
	public void setPatient(long patient) {
		this.patient = patient;
	}
	public long getSurvey() {
		return survey;
	}
	public void setSurvey(long survey) {
		this.survey = survey;
	}
	public long getCure() {
		return cure;
	}
	public void setCure(long cure) {
		this.cure = cure;
	}
	public int getRelation() {
		return relation;
	}
	public void setRelation(int relation) {
		this.relation = relation;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getSpeed() {
		return speed;
	}
	public void setSpeed(int speed) {
		this.speed = speed;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public long getQuestion() {
		return question;
	}
	public void setQuestion(long question) {
		this.question = question;
	}
	public int getOpencount() {
		return opencount;
	}
	public void setOpencount(int opencount) {
		this.opencount = opencount;
	}
	public int getSendcount() {
		return sendcount;
	}
	public void setSendcount(int sendcount) {
		this.sendcount = sendcount;
	}
	public Timestamp getStarttime() {
		return starttime;
	}
	public void setStarttime(Timestamp starttime) {
		this.starttime = starttime;
	}
	public Timestamp getEndtime() {
		return endtime;
	}
	public void setEndtime(Timestamp endtime) {
		this.endtime = endtime;
	}
	public int getUsetime() {
		return usetime;
	}
	public void setUsetime(int usetime) {
		this.usetime = usetime;
	}
	public long getUser() {
		return user;
	}
	public void setUser(long user) {
		this.user = user;
	}
	public Timestamp getTime() {
		return time;
	}
	public void setTime(Timestamp time) {
		this.time = time;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public int getAlive() {
		return alive;
	}
	public void setAlive(int alive) {
		this.alive = alive;
	}
	public String getAdvice() {
		return advice;
	}
	public void setAdvice(String advice) {
		this.advice = advice;
	}
	public float getScore() {
		return score;
	}
	public void setScore(float score) {
		this.score = score;
	}
	
}
